//
//  TaskModel.swift
//  KJLGT
//
//  Created by jenkin on 2019/8/21.
//  Copyright © 2019年 jenkin. All rights reserved.
//


import Foundation

struct TaskModel:Codable{
    var user_info:UserModel?
    var id:Int? = 0
    var user_id:Int? = 0
    var type:Int? = 0 //类型[1-下载,2-关注,3-注册,4-投票,5-分享,6-砍价,7-转发,8-认证绑定,100-其他] ,
    var type_name:String? = ""
    var os:Int? = 0 //操作系统[1-android,2-ios] ,
    var title:String? = "" //(string, optional): 标题 ,
    var content:String? = "" // (string, optional): 内容 ,
    var complete_time_limit:Int? = 0 // (integer, optional): 完成时限(秒) ,
    var review_time_limit:Int? = 0 //(integer, optional): 审核时限(秒) ,
    var frequency:Int? = 0 //(integer, optional): 次数[1-每人一次,2-每日一次,3-每日3次] ,
    var price:Int? = 0 // (integer, optional): 单价(分) ,
    var amount:Int? = 0 // (integer, optional): 金额(分) ,
    var review_time_limit_name:String? = "" //审核时间
    var commission:Int? = 0 // (integer, optional): 佣金(分) ,
    var total_count:Int? = 0 // (integer, optional): 总数 ,
    var free_count:Int? = 0 //(integer, optional): 空闲数 ,
    var success_count:Int? = 0 // (integer, optional): 完成数 ,
    var params:String? = "" //(string, optional): 参数 ,
    var end_time:String? = "" // (string, optional): 结束时间 ,
    var top_time:String? = "" // (string, optional): 置顶时间 ,
    var review_time:String? = "" // (string, optional): 审核时间 ,
    var description:String? = "" // (string, optional): 说明 ,
    var remark:String? = "" //(string, optional): 备注 ,
    var status:Int? = 0 //(integer, optional): 状态[1-审核中,2-未通过,3-派发中,4-暂停中,5-已撤回,6-已过期,7-已完成] ,
    var create_time:String? = "" //(string, optional): 创建时间 ,
    var update_time:String? = "" //(string, optional): 更新时间
}

